package cn.javass.dp.strategy.mydemo4;


public enum MessageServiceEnum {
    NORMAL_MESSAGE(1,"normal"),

    GROUP_MESSAGE(2,"group"),

    SYSTEM_MESSAGE(3,"system"),

    ARTICLE(4,"article");



    /**
     * 状态值
     */
    private int code;

    /**
     * 类型描述
     */
    private String value;

    MessageServiceEnum(int code, String value) {
        this.code = code;
        this.value = value;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
